package com.simpleframe.util;

public class NumberUtil {

	public static double toDouble(Object object){
		if(object==null)
			return 0;
		return (Double)object;
	}
	
	public static long toLong(Object object){
		if(object==null)
			return 0;
		return (Long)object;
	}
}
